let common={

}

//数据格式校验
function isType(type){
    return function(param){
        return Object.prototype.toString.call(param) == `[object ${type}]`
    }
}
let isObject = isType('Object');
let isString = isType('String');


export {
    common,
    isObject,
    isString
}